package cl.cliente;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import android.webkit.WebView;
import android.widget.Button;

public class obtenerGrafico  extends Activity {

	WebView webview;
	Button btnVolverGR;
	int idLibro;

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		
		super.onCreate(savedInstanceState);
		this.setContentView(R.layout.grafico_view);
		Log.i("log-android","activity crEAR GRAFICO");
		idLibro = getIntent().getExtras().getInt("codLibro");	

	    webview = (WebView)findViewById(R.id.webView1);
		btnVolverGR = (Button)findViewById(R.id.btnVolverGR);
		//webview.clearView();
		webview.loadUrl("file:///android_asset/pagina.html");
		//webview.clearView();
		//webview.loadUrl( "javascript:window.location.reload( true )" );
	}

	public void volver3(View v){

    finish();

}
}
